package manager.member.impl;

import java.util.ArrayList;

import manager.member.MemberManager;
import dao.member.MemberDao;
import dto.member.MemberDTO;

public class MemberManagerImpl implements MemberManager {

	private MemberDao memberDao;

	public void setMemberDao(MemberDao memberDao) {
		this.memberDao = memberDao;
	}

	public ArrayList<MemberDTO> getMemberList() {
		return (ArrayList<MemberDTO>)memberDao.getMemberList();
	}

	public MemberDTO getMemberInfo(MemberDTO dto) {
		return (MemberDTO)memberDao.getMemberInfo(dto);
	}

	public Integer setMember(MemberDTO dto) {
		return (Integer)memberDao.setMember(dto);
	}
	
	
}

